import request from '../utils/request'
export function add(data) {
  return request({
    url: '/member/memberFavorites/add',
    method: 'post',
    data:data
  })
}

export function exists(params) {
  return request({
    url: '/member/memberFavorites/exists',
    method: 'get',
    params: params
  })
}

export function del(id) {
  return request({
    url: '/member/memberFavorites/del/' + id,
    method: 'post',
  })
}
